<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:if test="${data == null || data.execute==2 }">
<div class="alert alert-warning">
	<button type="button" class="close" data-dismiss="alert">
		<i class="ace-icon fa fa-times"></i>
	</button>
	此日期没有税收数据!
	<br>
</div>
</c:if>
<c:if test="${data != null && data.execute!=2}">
<div class="col-xs-12 col-sm-3 center">
	<div class="clearfix">
		<div id="first" style="cursor: pointer;box-sizing: border-box;
    display: block;
    float: left;width:48%;
    margin: 0px 1%;
    padding: 0px 2%;" class="btn btn-info" >
			<span class="bigger-175 blue">${data.rebateDto.score }</span>
			<br>
			当日总税收
		</div>
		<div style="cursor: pointer;box-sizing: border-box;
    display: block;
    float: left;width:48%;
    margin: 0px 1%;
    padding: 0px 2%;" class="btn btn-info" >
			<span class="bigger-175 blue">${data.rebateDto.rebateAmt+data.rebateDto.topRebateAmt}</span>
			<br>
			产生的总提成
		</div>
	</div>
	<div class="hr hr5 dotted"></div>
	<div class="clearfix">
		<div style="cursor: pointer;box-sizing: border-box;
    display: block;
    float: left;width:48%;
    margin: 0px 1%;
    padding: 0px 2%;" class=" btn btn-info" >
			<span class="bigger-175 blue">${data.rebateDto.rebateAmt}(${data.rebateDto.userCount})</span>
			<br>
			代理提成(数量)
		</div>
		<div style="cursor: pointer;box-sizing: border-box;
    display: block;
    float: left;width:48%;
    margin: 0px 1%;
    padding: 0px 2%;" class=" btn-info btn " >
			<span class="bigger-175 blue">${data.rebateDto.topRebateAmt}(${data.rebateDto.topUserCount})</span>

			<br>
			运营号提成(数量)
		</div>
	</div>
	<div class="hr hr5 dotted"></div>
	<div class="clearfix">
		<div style="cursor: pointer;box-sizing: border-box;
    display: block;
    float: left;width:48%;
    margin: 0px 1%;
    padding: 0px 2%;" class=" btn btn-info" >
			<span class="bigger-175 blue">${data.rebateDto.detailCount}</span>
			<br>
			金币明细数
		</div>
		
	</div>
	<div class="hr hr16 dotted"></div>
	<div>

		<div class="width-80 label label-info label-xlg arrowed-in arrowed-in-right">
			<div class="inline position-relative">
				<a href="#" class="user-title-label dropdown-toggle" data-toggle="dropdown">
					<span class="white">
					<c:if test="${data.execute==0 }">
						未计算
					</c:if>
					<c:if test="${data.execute==1 }">
						已计算
					</c:if>
					</span>
				</a>
			</div>
		</div>
	</div>


	<div class="hr hr12 dotted"></div>

	<c:if test="${data.execute==0 }">
		<div class="input-group input-daterange"  style="width: 20%">	
			<div class="input-group-btn">
				<button id="submitQueryBtn" type="button" class="btn btn-purple btn-sm" onclick="doInsert()">
					<span class="ace-icon fa fa-pencil icon-on-right bigger-110"></span>
					计算入库
				</button>
			</div>
		</div>
	</c:if>

	<div class="hr hr16 dotted"></div>
</div>
<form id="queryDetailForm">
<input type="hidden" name="agentId" value="${userData.userId }"/>
<input type="hidden" name="userId"  value="${userData.userId }"/>
<input type="hidden" name="sd" value="${sd }"/>
<input type="hidden" name="ed" value="${ed }"/>
<input type="hidden" name="type" value=""/>
</form>

<div class="col-xs-9" style="margin-top:5px;" id='profileDataList'>
<%@include file="myGoldDetailList.jsp" %>
</div>


</c:if>